package org.polaris.authority.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.polaris.basic.domain.BaseDomain;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission extends BaseDomain{
    private String name;
    private String url;
    private String descs;
    private String sn;
    private Long parentId;

    private Permission parent;

    private List<Permission> children;
}
